<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ include file="tag.jsp" %>
<c:set var="ctx" value="${pageContext.request.contextPath}" scope="request"/>
<html lang="en" class="no-js">
<head>

    <meta charset="utf-8"/>

    <title>用户管理系统</title>

    <meta content="width=device-width, initial-scale=1.0" name="viewport"/>

    <meta content="" name="description"/>

    <meta content="" name="author"/>

    <link rel="shortcut icon" href='<spring:url value="/resources/images/logo.ico"></spring:url>'/>

    <style type="text/css">
        #header {
            position: fixed;
            top: 0;
            background-color: #3498db;
            width: 100%;
            height: 70px;
            z-index: 98;
        }

        /*        #logo {
                    width: 75px;
                }
                #sys {
                    color: #fff;
                    font-size: 25px;
                    line-height: 65px;
                }*/
        #head-left {
            margin-right: 10px;
            color: #fff;
            font-size: 14px;
            line-height: 67px;
        }

        .nav > li > a:hover {
            text-decoration: none !important;
            background-color: #999 !important;
        }

        .open > a {
            text-decoration: none;
            background-color: #999 !important;
        }

        .rel {
            font-size: 16px;
            margin-right: 24px;
        }

        .alert_button {
            margin-right: 0px;
            width: 56px;
            border: 0;
            padding: 7px 14px;
            outline: none;
            line-height: 20px;
            margin-bottom: 0;
            display: inline-block;
            vertical-align: middle;
            height: 30px;
            color: white;
            text-shadow: none;
            background-color: #35aa47;
        }

        .alert_button:hover, .alert_button:focus {
            border: 0;
            background-color: #1d943b;
            color: #fff;
            outline: none;
        }
    </style>
    <script src='<spring:url value="/resources/userJs/overrideAlertAndConfirm.js"/>'></script>
    <script>
        var ctx = '${ctx}';
        jQuery(document).ready(function () {
            App.init();
        });

    </script>
</head>

<body>
<div id="header">
    <div id="head-left">
        <!--         <img id="logo"  class="pull-left" src='<spring:url value="/resources/images/logo/logo.png"></spring:url>'>
<span id="sys">救助飞行运行管理系统</span> -->
        <!-- 头部菜单栏开始 -->
        <ul class="nav pull-right" style="margin-right:91px;margin-top:23px;font-size:16px;">
            <!-- 个人信息栏开始 -->
            <li class="dropdown user">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                    <span class="username" style="color:#fff">
                        <%=session.getAttribute("authUserName") %>
                    </span>
                    <i class="icon-angle-down"></i>
                </a>
                <ul class="dropdown-menu">
                    <li style="margin-top:9px;"><a href='<spring:url value="/desktop"/> '><i
                            class="icon-share-alt"></i>返回主系统</a></li>
                    <li class="divider"></li>
                    <li><a href="${ctx}/logout"><i class="icon-key"></i> 退出登录</a></li>

                </ul>

            </li>
            <!-- 个人信息栏结束 -->
        </ul>
        <span class="pull-right rel"><span class="icon-group"></span> 所属部门：${sessionScope.loginUserDeptName}</span>
        <!-- 头部菜单栏结束 -->
        <!-- <label class="pull-right rel"><span class="glyphicon glyphicon-bell"></span> 提醒</label>
        <label class="pull-right rel"><span class="glyphicon glyphicon-calendar"></span> 当前时间：2016-08-18 10:22</label>
        <label class="pull-right rel"><span class="glyphicon glyphicon-screenshot"></span> 角色：管理员</label>
        <label class="pull-right rel"><span class="glyphicon glyphicon-user"></span> 用户名：admin</label>
        <label class="pull-right rel"><span class="glyphicon glyphicon-plane"></span> 所属部门：航空事业部</label>
        <label class="pull-right rel" onclick="checkPower();"><span class="glyphicon glyphicon-edit"></span> <a href="#">组织信息 </a></label>
        <label class="pull-right rel"><span class="glyphicon glyphicon-wrench"></span><a href="toUserMaintain"> 用户维护 </a></label> -->
    </div>
</div>
<div id="cfirm_modal" class="modal hide fade" tabindex="-1" data-backdrop="static" data-keyboard="false"
     style="width:400px;margin-left:-200px">
    <div class="modal-header" style="padding: 2px 15px;background-color:#3498db;">
        <h5>消息提醒</h5>
    </div>
    <div class="modal-body">
        <h4 id="alertContentId" style="color: #EE5C42;font-weight: 500;"></h4>
    </div>
    <div class="modal-footer">
        <button type="button" data-dismiss="modal" id="confirm_success" class="btn green">确定</button>
        <button type="button" data-dismiss="modal" id="confirm_fail" class="btn">取消</button>
    </div>
</div>
</body>
</html>